const getters = {
  roles: state => state.user.roles,
  access_token: state => state.user.access_token,
  menus: state => state.user.menus,
  userInfo: state => state.user.userInfo,
  isCollapse: state => state.common.isCollapse,
  keyCollapse: (state, getters) => getters.screen > 1 ? getters.isCollapse : false,
  screen: state => state.common.screen,
  website: state => state.common.website,
  isFullScreen: state => state.common.isFullScreen,
  lockPasswd: state => state.common.lockPasswd
}
export default getters
